package com.weipai.education.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@Accessors(chain = true)
public class CusRecord {
    private Integer id;

    @NotNull(message = "客户id不能为空")
    private Integer customerId;

    private Integer userId;

    private Date createTime;

    @NotBlank(message = "沟通记录不能为空")
    private String record;
}